<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8" isELIgnored="false"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8"> 
	<title>管理员审核界面</title>
	<link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css">  
	<script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
	<script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body style="background: url(https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1576338337951&di=baf7bc4f57af91b36e6e67642cceb626&imgtype=0&src=http%3A%2F%2Fpic1.win4000.com%2Fwallpaper%2F8%2F5811b0c0bd5a7.jpg)"  >
<div style="height: 100px;width: 1000px;margin: auto;border: 4px grey solid;border-radius: 10px;">
	<form action="<%=request.getContextPath()%>/i/f" method="post">
				
				<br />
				
				
				<input type="text" name="name" id="name"  value="${find.name }" placeholder="请输入姓名"/>
				<input type="text" name="email" id="email"  value="${find.email }" placeholder="请输入邮箱"/>
				<input type="text" name="phone" id="phone" value="${find.phone }" placeholder="请输入电话号码"/>
				<input type="text" name="minzu" id="minzu" value="${find.minzu }" placeholder="请输入民族"/>
				<input type="text" name="id" id="id"  value="${find.id }" placeholder="请输入身份证号"/>
				<input type="submit" value="查询" />
				<br />
				<label>政治面貌</label>
				<select name="zzmm">
				<option selected="${find.zzmm}" ></option>
				<option value="" >所有</option>
					<option value ="群众">群众</option>
					<option value ="党员">党员</option>
					<option value ="团员">团员</option>
					<option value ="预备党员">预备党员</option>
				</select>
				<br>
				<label>学历&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</label>
				<select name="xueli">
				<option value="" >所有</option>
					<option selected="${find.xueli}" ></option>
					<option value ="本科">本科</option>
					<option value ="专科">专科</option>
					<option value ="研究生">研究生</option>
					<option value ="博士">博士</option>
				</select>
				
			</form>
			</div>
			<br />
<div style="width: 1000px;margin: auto;border: 4px grey solid;border-radius: 10px;" ><table class="table table-striped">
  <caption>这是一个测试表格</caption>
  <thead>
    <tr>
      <th>姓名</th>
      <th>电话</th>
      <th>户口</th>
	  <th>邮箱</th>
	  <th>状态</th>
	  <th>政治面貌</th>
	  <th>身份证号码</th>
	  <th>民族</th>
	  <th>学校</th>
	  <th>学历</th>
	  <th>操作</th>
    </tr>
  </thead>
  <tbody>
  <c:forEach items="${teachers}" var="teacher" >
    <tr>
      <td>${teacher.name }</td>
      <td>${teacher.phone }</td>
      <td>${teacher.hukou }</td>
	  <td>${teacher.email }</td>
	  <td>${teacher.status}</td>
	  <td>${teacher.zzmm }</td>
	  <td>${teacher.id }</td>
	  <td>${teacher.minzu }</td>
	  <td>${teacher.xuexiao}</td>
	  <td>${teacher.xueli }</td>
	  <td><form action="<%=request.getContextPath() %>/i/v" method="post">
			  <input type="hidden" name="email" value="${teacher.email}" >
			  <input type="submit" value="查看详情" >
			  </form></td>
    </tr>
    </c:forEach>
   </tbody>
</table>
<div style="width: 1000px;margin: auto;" >
 <c:forEach begin="1" end="${find.page}" var="i" >
 <form method="post" action="<%=request.getContextPath() %>/i/f" >
 <input type="hidden" name="name" value="${find.name }" >
 <input type="hidden" name="email" value="${find.email}" >
 <input type="hidden" name="zzmm" value="${find.zzmm}" >
 <input type="hidden" name="phone" value="${find.phone}" >
 <input type="hidden" name="minzu" value="${find.minzu}" >
 <input type="hidden" name="id" value="${find.id}" >
 <input type="hidden" name="xueli" value="${find.xueli}" >
 <input type="hidden" name="start" value="${i}" >
 <input type="submit" value="${i}">
 </form>
 
 

 </c:forEach>
 </div>
</div>

</body>
</html>